window.screenOrientation = "landscape";
loadLib("libs/laya.core.js");
loadLib("libs/laya.html.js");
loadLib("libs/ltgame/generator.js");
loadLib("libs/ltgame/promise.js");
loadLib("libs/fairygui/fairygui.js");

loadLib("js/bundle.js");

wx.loadSubpackage({
    name: "hlsdk",
    success: function (res) {
        require("js/bundle.js");
    },
    fail: function (err) {
        console.log("分包加载失败", err);
    }
})